projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f2c9ed
)
(decode_mode_spec): Define %e to indicate memory full.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 28 Oct 2005 16:27:47 +0000
(16:27 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 28 Oct 2005 16:27:47 +0000
(16:27 +0000)
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index f7f7898b476f70c8a8ba5e9baecfa71edc8b0acb..973528bebf5d62de4a390062d7ef9cd57f42ff2e 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-17192,6
+17192,19
@@
decode_mode_spec (w, c, field_width, precision, multibyte)
return decode_mode_spec_buf;
}
+ case 'e':
+#ifndef SYSTEM_MALLOC
+ {
+ extern char *spare_memory;
+ if (spare_memory)
+ return "";
+ else
+ return "!MEM FULL! ";
+ }
+#else
+ return "";
+#endif
+
case 'F':
/* %F displays the frame name. */
if (!NILP (f->title))